
<form id="form_edit">
<input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td width="20%" align="right">员工：</td>
		<td width="30%"><input type="text" name="emp" id="emp" value="{[$result.emp]}:{[$result.emp_t]}" size="12" title="{[$t.emp_|emp:'报销人']}"> <input type="checkbox"
			name="t_emp" id="t_emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}"> 自己</td>
		<td width="20%" align="right">日期：</td>
		<td width="30%"><input type="text" name="date" id="date" value="{[$result.date]}" size="12"></td>
	</tr>
	<tr>
		<td align="right">名称：</td>
		<td colspan="3"><input type="text" name="name" id="name" size="16" value="{[$result.name]}"></td>
	</tr>
	<tr>
		<td align="right">帐号：</td>
		<td><input type="text" name="username" id="username" size="16" value="{[$result.username]}"></td>
		<td align="right">密码：</td>
		<td><input type="text" name="password" id="password" size="12" value="{[$result.password]}"></td>
	</tr>
	<tr>
		<td align="right">IP：</td>
		<td><input type="text" name="ip" size="16" value="{[$result.ip]}" title="单位：字节"></td>
		<td align="right">流量：</td>
		<td><input type="text" name="quota_bytes" size="12" value="{[$result.quota_bytes]}" title="单位：字节"></td>
	</tr>
	<tr>
		<td align="right"></td>
		<td></td>
		<td align="right">周期：</td>
		<td><input type="text" name="quota_cycle" size="12" value="{[$result.quota_cycle]}" title="单位：天"></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="4" name="content" cols="40">{[$result.content]}</textarea></td>
	</tr>
	<tr>
		<td align="right">状态：</td>
		<td><select name="status">
			{[html_options options=$status_option selected=$result.status]}
		</select></td>
		<td align="right">有效期：</td>
		<td><input type="text" name="indate" id="indate" value="{[$result.indate]}" size="12"></td>
	</tr>
</table>
</form>

<script type="text/javascript" src="js/vpn/user/add.js?r={[$smarty.now]}"></script>
